﻿using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Models;
using System.Collections.Generic;

namespace UnitTest
{
    [TestClass]
    public class TestModel
    {
        [TestMethod]
        public void TestFormUserAndRoleCollection()
        {
            FormUserAndRoleCollection md = new FormUserAndRoleCollection();
            List<TblPermissionsForm> t = md.GetPermissionIdAndFormName(1);
            foreach (TblPermissionsForm item in t)
            {
                Console.WriteLine(item.TblFormSetting.FormName);
            }

        }
    }
}
